---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/jesse/Dropbox/Ohio-HallResearch/Code/replication/table_a7.log
  log type:  text
 opened on:  11 Jun 2020, 12:48:47

. 
. *** Table only using ``small" counties defined as counties with initial population at 50th percentile and below
. 
. use "$path/foreclosures_analysis.dta", clear

. 
. bootstrap _b, rep(1e3) seed(94305) cluster(fips) force: reghdfe pres_vs foreclosure_rate foreclosure_inc [aw=pop_y] if popdecile <= 4, a(fips sy) cluster(fips)
(running reghdfe on estimation sample)

Bootstrap replications (1000)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000

HDFE Linear regression                          Number of obs     =      4,625
Absorbing 2 HDFE groups                         Replications      =      1,000
                                                Wald chi2(2)      =      26.38
                                                Prob > chi2       =     0.0000
                                                R-squared         =     0.9729
                                                Adj R-squared     =     0.9588
                                                Root MSE          =     2.8129

                                    (Replications based on 1,412 clusters in fips)
----------------------------------------------------------------------------------
                 |   Observed   Bootstrap                         Normal-based
         pres_vs |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
foreclosure_rate |  -.2741253   .1139225    -2.41   0.016    -.4974094   -.0508413
 foreclosure_inc |   -.099197   .0865451    -1.15   0.252    -.2688222    .0704282
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
            fips |            0            1412           1412 *   | 
              sy |          168             169              1     | 
-------------------------------------------------------------------+
* = fixed effect nested within cluster; treated as redundant for DoF computation

. local b1 = _b[foreclosure_rate]

. local se1 = _se[foreclosure_rate]

. local bint1 = _b[foreclosure_inc]

. local seint1 = _se[foreclosure_inc]

. local n1 = e(N)

. local nclust1 = e(N_clust)

. 
. bootstrap _b, rep(1e3) seed(94305) cluster(fips) force: reghdfe pres_vs foreclosure_rate foreclosure_inc [aw=pop_y] if popdecile <= 4, a(fips popyear) cluster(fips)
(running reghdfe on estimation sample)

Bootstrap replications (1000)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000

HDFE Linear regression                          Number of obs     =      4,632
Absorbing 2 HDFE groups                         Replications      =      1,000
                                                Wald chi2(2)      =       4.58
                                                Prob > chi2       =     0.1011
                                                R-squared         =     0.9366
                                                Adj R-squared     =     0.9081
                                                Root MSE          =     4.2041

                                    (Replications based on 1,413 clusters in fips)
----------------------------------------------------------------------------------
                 |   Observed   Bootstrap                         Normal-based
         pres_vs |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
foreclosure_rate |  -.3055445   .1442274    -2.12   0.034    -.5882251   -.0228639
 foreclosure_inc |   .1204361   .0965937     1.25   0.212    -.0688841    .3097562
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
            fips |            0            1413           1413 *   | 
         popyear |           19              20              1     | 
-------------------------------------------------------------------+
* = fixed effect nested within cluster; treated as redundant for DoF computation

. local b2 = _b[foreclosure_rate]

. local se2 = _se[foreclosure_rate]

. local bint2 = _b[foreclosure_inc]

. local seint2 = _se[foreclosure_inc]

. local n2 = e(N)

. local nclust2 = e(N_clust)

. 
. bootstrap _b, rep(1e3) seed(94305) cluster(fips) force: reghdfe pres_vs foreclosure_rate foreclosure_inc [aw=pop_y] if popdecile <= 4, a(i.fips##c.year sy) cluster(fips)
(running reghdfe on estimation sample)

Bootstrap replications (1000)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000

HDFE Linear regression                          Number of obs     =      4,625
Absorbing 2 HDFE groups                         Replications      =      1,000
                                                Wald chi2(2)      =      16.54
                                                Prob > chi2       =     0.0003
                                                R-squared         =     0.9939
                                                Adj R-squared     =     0.9826
                                                Root MSE          =     1.8298

                                    (Replications based on 1,412 clusters in fips)
----------------------------------------------------------------------------------
                 |   Observed   Bootstrap                         Normal-based
         pres_vs |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
foreclosure_rate |  -.1894494   .0991631    -1.91   0.056    -.3838054    .0049066
 foreclosure_inc |   -.090671   .0685446    -1.32   0.186    -.2250159    .0436739
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
            fips |            0            1412           1412 *   | 
     fips#c.year |         1412            1412              0 ?   | 
              sy |          168             169              1     | 
-------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

. local b3 = _b[foreclosure_rate]

. local se3 = _se[foreclosure_rate]

. local bint3 = _b[foreclosure_inc]

. local seint3 = _se[foreclosure_inc]

. local n3 = e(N)

. local nclust3 = e(N_clust)

. 
. bootstrap _b, rep(1e3) seed(94305) cluster(fips) force: reghdfe pres_vs foreclosure_rate foreclosure_inc [aw=pop_y] if popdecile <= 4, a(i.fips##c.year popyear) cluster(fips)
(running reghdfe on estimation sample)

Bootstrap replications (1000)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
..................................................    50
..................................................   100
..................................................   150
..................................................   200
..................................................   250
..................................................   300
..................................................   350
..................................................   400
..................................................   450
..................................................   500
..................................................   550
..................................................   600
..................................................   650
..................................................   700
..................................................   750
..................................................   800
..................................................   850
..................................................   900
..................................................   950
..................................................  1000

HDFE Linear regression                          Number of obs     =      4,632
Absorbing 2 HDFE groups                         Replications      =      1,000
                                                Wald chi2(2)      =      18.27
                                                Prob > chi2       =     0.0001
                                                R-squared         =     0.9819
                                                Adj R-squared     =     0.9531
                                                Root MSE          =     3.0025

                                    (Replications based on 1,413 clusters in fips)
----------------------------------------------------------------------------------
                 |   Observed   Bootstrap                         Normal-based
         pres_vs |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
foreclosure_rate |  -.6735896   .1726842    -3.90   0.000    -1.012044   -.3351347
 foreclosure_inc |   .2226136   .1118968     1.99   0.047     .0032999    .4419274
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
            fips |            0            1413           1413 *   | 
     fips#c.year |         1413            1413              0 ?   | 
         popyear |           19              20              1     | 
-------------------------------------------------------------------+
? = number of redundant parameters may be higher
* = fixed effect nested within cluster; treated as redundant for DoF computation

. local b4 = _b[foreclosure_rate]

. local se4 = _se[foreclosure_rate]

. local bint4 = _b[foreclosure_inc]

. local seint4 = _se[foreclosure_inc]

. local n4 = e(N)

. local nclust4 = e(N_clust)

. 
. log close
      name:  <unnamed>
       log:  /Users/jesse/Dropbox/Ohio-HallResearch/Code/replication/table_a7.log
  log type:  text
 closed on:  11 Jun 2020, 12:59:54
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
